package com.cf.user.permission.dao;

import com.cf.crud.mapper.BaseMapper;
import com.cf.user.permission.model.SystemPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SystemPermissionDao extends BaseMapper<SystemPermission> {
    @Select("select * from systemPermission where permissionUrl=#{permissionUrl}")
    SystemPermission selectByPermissionUrl(@Param("permissionUrl") String permissionUrl);
}
